using System;
using System.Collections.Generic;
using System.Text;

namespace Cabal.Kernel.Provider
{
    public interface IProvider
    {
        object Request(string type, object arg);
        bool   Reload(string type);
    }

    public interface IResControl : IProvider
    {
        void AddResource(string type, object arg, object data);
        void Remove(string type, object data);
        void Clear(string type);

        void Save();
    }
}
